package com.pasu.breakreminder.utils;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.pasu.breakreminder.subservices.SubServicesManager;

public class AlarmReceiver extends BroadcastReceiver {
    public static final int ALARM_RECEIVER_INTENT = 321254;
    public static final String ALARM_RECEIVED_INTENT_FILTER = "alarm_received_intent_filter";

    @Override
    public void onReceive(Context context, Intent intent) {
        Logger.i("AlarmReceiver", ">> onReceive()");
        SubServicesManager manager = new SubServicesManager(context);
        manager.configureSubServices();
        manager.startSubServices();
    }
}
